package com.lc1993929.chapter21.interruptindIdiom;

/**
 * Created by LiuChang on 2018/10/31.
 */
public class NeedsCleanup {
    private final int id;

    public NeedsCleanup(int ident) {
        id = ident;
        System.out.println("NeedsCleanup " + id);
    }

    public void cleanup() {
        System.out.println("Cleaning up " + id);
    }

}
